VSB-TUO/feat: SAF Import/Update – embargo improvements & item page display#1258
Merged
milanmajchrak merged 2 commits intocustomer/vsb-tuofrom Mar 19, 2026
Merged
VSB-TUO/feat: SAF Import/Update – embargo improvements & item page display#1258milanmajchrak merged 2 commits intocustomer/vsb-tuofrom
milanmajchrak merged 2 commits intocustomer/vsb-tuofrom
Conversation
…age feat: add CZ/EN i18n labels for embargo fields
There was a problem hiding this comment.
Pull request overview
This PR adds embargo metadata to the simple item page views (both default and custom theme) by rendering two additional metadata fields and introducing corresponding i18n labels.
Changes:
- Display
dc.description.embargo(“Delayed publication”) on untyped item and publication simple pages. - Display
dc.date.embargoend(“Available after”) on untyped item and publication simple pages. - Add new i18n keys for the embargo statement/date labels (EN + CS).
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/themes/custom/app/item-page/simple/item-types/untyped-item/untyped-item.component.html | Renders embargo statement and embargo end date fields in the custom theme untyped item page. |
| src/themes/custom/app/item-page/simple/item-types/publication/publication.component.html | Renders embargo statement and embargo end date fields in the custom theme publication page. |
| src/app/item-page/simple/item-types/untyped-item/untyped-item.component.html | Renders embargo statement and embargo end date fields in the default untyped item page. |
| src/app/item-page/simple/item-types/publication/publication.component.html | Renders embargo statement and embargo end date fields in the default publication page. |
| src/assets/i18n/en.json5 | Adds EN labels for the embargo statement/date fields. |
| src/assets/i18n/cs.json5 | Adds CS labels for the embargo statement/date fields. |
You can also share your feedback on Copilot code review. Take the survey.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem description
dc.description.embargo("Delayed publication" / "Odložené zveřejnění") anddc.date.embargoend("Available after" / "Zveřejnění") to all 4 item view templates.FE modified files
untyped-item.component.html(×2),publication.component.html(×2)en.json5,cs.json5Analysis
(Write here, if there is needed describe some specific problem. Erase it, when it is not needed.)
Problems
(Write here, if some unexpected problems occur during solving issues. Erase it, when it is not needed.)
Sync verification
If en.json5 or cs.json5 translation files were updated:
yarn run sync-i18n -t src/assets/i18n/cs.json5 -ito synchronize messages, and changes are included in this PR.Manual Testing (if applicable)
Copilot review